﻿using FPSO.Models.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FPSO.Services
{
    /// <summary>
    /// 船舶吃水服务
    /// </summary>
    public interface IDraughtService
    {
        /// <summary>
        /// 根据各个舱室的容量计算船舶吃水
        /// </summary>
        /// <param name="tankVolumeDic">当前舱室容量，key-舱室ID,value-舱室容量</param>
        /// <returns>船舶吃水情况</returns>
        ShipDraught CalcDraught(Dictionary<string, double> tankVolumeDic);
    }
}
